From 684819f13dc308e63917ad5866aba0a2efaf155e Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 27 Jan 2003 17:19:46 +0000 Subject: [PATCH] More correct handling of CSIZE, even though this is totally a sugar pill with our settings... --- gpsbabel/jeeps/gpsserial.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/jeeps/gpsserial.c b/gpsbabel/jeeps/gpsserial.c index fcef83336..1565a531b 100644 --- a/gpsbabel/jeeps/gpsserial.c +++ b/gpsbabel/jeeps/gpsserial.c @@ -248,7 +248,8 @@ int32 GPS_Serial_Open(int32 *fd, const char *port) return 0; } - tty.c_cflag |= (CREAD | CS8 | CSIZE | CLOCAL); + tty.c_cflag &= ~(CSIZE); + tty.c_cflag |= (CREAD | CS8 | CLOCAL); cfsetospeed(&tty,B9600); cfsetispeed(&tty,B9600); -- 2.30.2